package com.wangdao.wechatmall.bean.vo.wx;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName: WXCartListBeanVO
 * @Description ${DESCRIPTION}
 * @Author Xinhao Yi
 * @Date 2021/7/11  21:41
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WXCartListBeanVO {
    /**
     * id : 89
     * userId : 1
     * goodsId : 1181054
     * goodsSn : 11
     * goodsName : 22
     * productId : 457
     * price : 11
     * number : 2
     * specifications : ["标准","撒"]
     * checked : true
     * picUrl : http://182.92.235.201:8083/wx/storage/fetch/vgvffi3250gkajhq29j4.gif
     * addTime : 2021-07-11 19:37:01
     * updateTime : 2021-07-11 20:34:34
     * deleted : false
     */

    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private String goodsSn;
    private String goodsName;
    //产品id
    private Integer productId;
    //价格
    private BigDecimal price;
    //数量
    private Integer number;
    //购物车中的这一项是否被选中，默认是1即true，被选中
    private Boolean checked;
    //图片资源
    private String picUrl;
    private String addTime;
    private String updateTime;
    private Boolean deleted;
    //规格清单
    private List<String> specifications;

}
